package com.nowcoder.community.dao;

import org.springframework.stereotype.Repository;

/**
 * @author: caoxinfang
 * @email: 2717176337@qq.com
 * @date: 2022/3/6 17:51
 */

@Repository("alphaHibernate")//访问数据库的注解 容器扫描 ()里面指定是bean名称后面好访问
public class AlphaDaoHibernateImpl implements AlphaDao {

    @Override
    public String select() {
        return "Hibernate";
    }
}
